/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package remuneraciones;

/**
 *
 * @author 18735921-K
 */
public class descuentos implements parametros {
    int imponible;
    private int valorisapre;
    private int valorafp;
    

    public descuentos(int imponible) {
        this.imponible = imponible;
    }
    public int afp(){
    return (int)(valorafp*imponible);
   
    }
      public int isapre(){
      return (int) (valorisapre*imponible);
      }
        public int sumadescuentos(){
        return this.afp()+this.isapre();
        }
}

